package com.hnit.rol.model.entity.bookInfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName(value ="book_info")
@Data
public class BookInfo {
    /**
     * 唯一id
     */

    private Long id;

    /**
     * 图书ID
     */
    private Long bookId;

    /**
     * 书名
     */
    private String bookName;

    /**
     * 图书类型
     */
    private String bookType;

    /**
     * 图书图片
     */
    private String bookPic;

    /**
     * 图书简介
     */
    private Date bookIntroduce;

    @TableField(exist = false)
    private String bookPrice;

    @TableField(exist = false)
    private String nickname;

}
